package com.weavernorth.retailExperienceAward;

import com.api.weavernorth.createtrip.CreateTripWorkflow;
import com.weavernorth.retailExperienceAward.service.OperationCheckImpl;
import com.weavernorth.util.Logger4jUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.log4j.Logger;
import weaver.interfaces.schedule.BaseCronJob;

/**
 * @Author: bruseewang
 * @Package: com.weavernorth.retailExperienceAward
 * @date: 2020/5/28 10:49
 * @description: 定时任务创建：零售体验奖-月度营运标准检查清单流程(需当月25日触发)
 */
public class RetailExperienceTimmer extends BaseCronJob {
    @Override
    public void execute() {
        Logger log =Logger4jUtil.getLoggerByName("/Timmer/RetailExperienceTimmer/");
        log.info("定时任务---触发生成区域经理月度营运标准检查清单流程。。。");
        OperationCheckImpl imp=new OperationCheckImpl();
        imp.setLog(log);
        imp.createFormal();
        log.info("定时任务---流程创建成功。。。");
    }
}